package com.example.jenkinstest.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/jenkins")
    public  String test(){
        return  "success";
    }

    @GetMapping("/fail")
    public  String fail(){
        return  "fali";
    }
}
